package com.xuz.factory.factory_method.factory.impl;

import com.xuz.factory.factory_method.factory.FreeGoodsFactory;
import com.xuz.factory.simple_factory.service.IFreeGoods;
import com.xuz.factory.simple_factory.service.impl.DiscountFreeGoods;

/**
 * 生产优惠券发放接口-具体工厂
 * @user 65453
 * @date 2024/9/24 21:48
 */
public class DiscountFreeGoodsFactory implements FreeGoodsFactory {
    @Override
    public IFreeGoods getInstance() {
        // 返回具体的产品
        return new DiscountFreeGoods();
    }
}
